//	--------------------------------------------------------------------
//	Copyright(C) 2006,2007 Zhao Yukun. All rights reserved.
//	This file is a part of the Xeres system.
//	Xeres 2007
//	Contact : xeres.engine@gmail.com
//	$(reservedInfo)
//	$(reservedDeclaration)
//	--------------------------------------------------------------------
///	@file	<Culler.cpp>
///	@path	~/src/scene/cull/
///	@date	2008/04/28
///	@desc	.

#include "config/config.h"

#include "scene/cull/Culler.h"

namespace xeres {

	// Culler
	Culler::Culler( void )
	{

	}
	// ~Culler
	Culler::~Culler( void )
	{

	}
	// CullPresentation
	void Culler::CullPresentation( RenderManager& rm )
	{
		std::deque< RefWeak<IModel> >& pres = GetPresentation();
		for( size_t i = 0 , total = pres.size() ; i < total ; ++i )
		{
			pres[i]->Batch( rm );
		}
	}

} // namespace xeres
